<?php
/*fileName: 
 *internal version: 0001
 *version : 1.0.0 [programming] [official version]
 *author : HeShengyu
 *Date : 2014.07.21 
 *email: koolfer@163.com
 *end date:2014.08.23
 *http://www.cnblogs.com/ssnowy/
*/
 
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
<meta http-equiv="pragma" content="no-cach" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<title></title>
<style>
@font-face {
				font-family: 'inconsolata';
				src: url('../inc/inconsolata.woff') format('woff');
				font-weight: normal;
				font-style: normal;
			}

body {
	margin:0px;
	overflow :hidden;}
* , body ,div ,li,ol,span,a{font-family:'inconsolata','思源黑体 CN Light',Verdana, Geneva, sans-serif ; font-size:16px;}

div a{text-decoration: underline;} /*链接无下划线none,有为underline*/
div a:link {color: #06f;text-decoration: underline;} /*未访问的链接 */
div a:visited {color: #0033cc;text-decoration: underline;} /*已访问的链接*/
div a:hover{color: #ff3399;text-decoration: underline;} /*鼠标在链接上 */
div a:active {color: #cc9900;text-decoration: underline} /*点击激活链接*/
li{ color:#0033cc; list-style-type:none; margin-left:0px;}
#left .high{color:#dd00dd; font-size:16px;   }
#left .highx{color:#090; font-size:16px;   }

#idifr{  border:0px solid #ccc;
      border-radius:4 px;
-moz-border-radius:10px; 
-webkit-border-radius:10px; 
box-shadow:   0px 0px 4px 1px #999;
margin:10px; padding:4px;
 


} 
#idsrc li{ width:100px; padding:0px; margin:0px; float:left;
	}
#idsrc li img{
    border:0px solid #ccc;
      border-radius:4 px;
-moz-border-radius:4px; 
-webkit-border-radius:4px; 
box-shadow:   0px 0px 4px 1px #999;
margin:2px 10px; padding:2px;	
	}
#dy{
-webkit-transform: scaleY(-1); 
-moz-transform: scaleY(-1); 
-ms-transform: scaleY(-1); 
-o-transform: scaleY(-1); 
transform: scaleY(-1); 
opacity:0.5; 
filter:flipv alpha(opacity='50'); /*ALL IE*/ 
}
</style>
<script src="js/appname.js" language="javascript"></script>
<script>
appname.ready(function(){
	
	window.addEventListener('keyup',function(){
		 
	var event=window.event||arguments.callee.caller.arguments[0];
       // mkTrace(event.keyCode+':'+ String.fromCharCode(event.keyCode))
	if(event.keyCode==70){
	    CTRL.fullscreen( document.getElementById('idifr') );
	}
	if(event.keyCode===69){
		    CTRL.exitFullscreen()	
	}
	if(event.keyCode===82){
		    window.location.reload();	
	}		
	 document.getElementById('idifr').focus();
 
	},false);
	
	
	 
	document.getElementById('right').style.width= (parseInt(window.innerWidth)-400)+'px';
	window.addEventListener('resize',function(){
    document.getElementById('right').style.width=(parseInt(window.innerWidth)-400)+'px';
	console.log((parseInt(window.innerWidth)-450)+'px');
	},false);
	 
});

</script>
</head>
<body>
 <?php

require_once 'appInc.php';
$table = new Cltable;
 
$table->export($_SERVER,300);
//把自己生成一个html文件
 generation_selfhtml();
?>
</body>
</html>